﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;

namespace LeafulWeiboSdk.Metadata
{
    public class GeoMetadata : BaseMetadata
    {
        [JsonProperty("longitude")]
        public string Longitude { get; set; }
        [JsonProperty("latitude")]
        public string Latitude { get; set; }
        [JsonProperty("city")]
        public string City { get; set; }
        [JsonProperty("province")]
        public string Province { get; set; }
        [JsonProperty("city_name")]
        public string CityName { get; set; }
        [JsonProperty("province_name")]
        public string ProvinceName { get; set; }
        [JsonProperty("address")]
        public string Address { get; set; }
        [JsonProperty("pinyin")]
        public string Pinyin { get; set; }
        [JsonProperty("more")]
        public string More { get; set; }

    }

    public class PlaceMetadata : BaseMetadata
    {
        [JsonProperty("poiid")]
        public string Poiid { get; set; }
        [JsonProperty("lon")]
        public string Longitude { get; set; }
        [JsonProperty("title")]
        public string Title { get; set; }
        [JsonProperty("type")]
        public string Type { get; set; }
        [JsonProperty("lat")]
        public string Latitude { get; set; }
    }
}
